package com.cskaoyan.javase.oop2._1extends._5protected._0one;

import com.cskaoyan.javase.oop2._1extends._5protected._1two.AnotherPackageSonClazz;

/**
 * 同包下的子类
 * @since 17:01
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class SamePackageSonClazz extends CurrentClazz {
    public static void main(String[] args) {
        CurrentClazz cc = new CurrentClazz();
        System.out.println(cc.num);

        SamePackageSonClazz sc = new SamePackageSonClazz();
        System.out.println(sc.num);

        AnotherPackageSonClazz ac = new AnotherPackageSonClazz();
        System.out.println(sc.num);
    }
}
